Object::New

Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:54:57 1991
Index Return to Main Contents
 

NAME

Object::New - instance method  

TEMPLATE

newInstance = ObjPtr New()  

SPECIFIERS

public  

DESCRIPTION

Returns a new instance of the same class as the receiver. The new instance is initialized as tough it had been constructed by the default constructor.
The new object is actually created by means method Class::New of the associated class descriptor. The class descriptor then invokes the method InitNew for the new object in order to construct it.
New needs the the presence of the class descriptor for the receiver's class.
See technote Metaclasses.  

ARGUMENTS

none

 

RETURN ARGUMENT

ObjPtr newInstance

a new instance of the same class as this
 

CATEGORIES

creation, client interface

 

FILES

implementation:
Object.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:25 GMT, March 30, 2022